//
//  ProductInfoDetail.m
//  Trading365
//
//  Created by Jason on 12-3-19.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "ProductInfoDetail.h"
#import "Type.h"

@implementation ProductInfoDetail
@synthesize table;


- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)didReceiveMemoryWarning
{
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc that aren't in use.
}

#pragma mark - View lifecycle

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.title=@"详细信息";
    self.table.backgroundColor=BACKGROUND_COLOR;
    
    NSArray *temp_array=[[NSArray alloc]initWithObjects: @"产品编码",@"产品英文名称",@"产品类别",@"产品规格",@"产品名称",@"产品英文规格",@"增值税率(%)",@"中文描述",@"条形码",@"净重",@"海关编码",@"成本价",@"退税率(%)",@"FOB价",@"包装说明",@"采购币种",@"毛重",@"内包装单位",@"单位",@"内包装数量",@"FOB币种",@"外包装尺寸(长)",@"利润率(%)",@"外包装尺寸(宽)",@"采购单价",@"外包装尺寸(高)",@"内包装尺寸",@"体积(M3)",@"外包装单位",@"装数",nil];
    self.InfoListTitle=temp_array;
    [temp_array release];
    
    NSArray *temp_array2=[[NSArray alloc]initWithObjects:@"product_code",@"product_name_en",@"standard_type_cn",@"standard_type_cn",@"product_name_ch",@"standard_type_en",@"product_vat",@"description_cn",@"bar_code",@"product_nwt",@"customs_code",@"cost_price",@"product_bt",@"fob_price",@"box_description",@"",@"product_gwt",@"inside_packing_unit",@"unit",@"inside_packing_count",@"fob_currency_kind",@"overwrap_size_length",@"profit_rate",@"overwrap_size_width",@"purchase_unit_price",@"overwrap_size_height",@"inside_packing_size",@"volume",@"overwrap_unit",@"overwrap_count", nil];
    self.InfoListName=temp_array2;
    [temp_array2 release];

}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (void)dealloc {
    
    [table release];
    [super dealloc];
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

#pragma mark - Table view data source
//

#pragma mark - Table view delegate
//

@end
